# -*- coding: utf-8 -*-
def findMinAndMax(L):
    min_ = None
    max_ = None

    if len(L) == 0:
        return min_, max_

    return min(L), max(L)


print(findMinAndMax([1,2,3]))
